package com.blog.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.domain.DTO.AddRoleDto;
import com.blog.domain.DTO.RoleListDto;
import com.blog.domain.DTO.StatusDto;
import com.blog.domain.ResponseResult;
import com.blog.domain.entity.Role;
import com.blog.domain.vo.MenuTreeVo;

import java.util.List;

/**
 * 角色信息表(Role)表服务接口
 *
 * @author makejava
 * @since 2024-09-11 14:24:02
 */
public interface RoleService extends IService<Role> {
	List<String> selectRoleKeyByUserId(Long userid);

	ResponseResult pageRoleselect(Integer pageNum, Integer pageSize, RoleListDto roleListDto);

	ResponseResult updateRoleStatus(StatusDto statusDto);


	ResponseResult addRole(AddRoleDto addRoleDto);

	ResponseResult getRoleDetailById(Long id);

	List<Long> getRoleAllMenuId(Long id);

	ResponseResult updateRoleDetail(AddRoleDto addRoleDto);

	ResponseResult deleteRole(List<Long> ids);

	ResponseResult getRoleList();
}
